<style>
.btn {margin:5px 20px 0 0;}
</style>

<div class="navbar">
    <div class="navbar-inner">
        <?php echo $this->Html->link(__('New Permission Operation'), array('controller' => 'acl_actions', 'action'=>'add'),array('target'=>'_blank','class'=>'btn btn-primary')); ?>

        <?php echo $this->Html->link(__('Permission Operation List'), array('controller' => 'acl_actions', 'action'=>'index'),array('target'=>'_blank','class'=>'btn btn-primary')); ?>

        <?php echo $this->Html->link(__('New User Role'), array('controller' => 'acl_actions', 'action'=>'add'),array('target'=>'_blank','class'=>'btn btn-primary')); ?>
    </div>
    </div>
    
<div>
	<portlet model="Role" list_tpl="inner" info="conditions[group]=0" portlet="default" title="后台管理角色">
		<a class="btn btn-default btn-lg" target="_blank" href="/admin/acl/acl_permissions/role?role_id={{$item['id']}}">{{$item['name']}}</a>
	</portlet>
</div>

<div>
	<portlet model="Role" list_tpl="inner" info="conditions[group]=1" portlet="default" title="前台管理角色">
		<a class="btn btn-default btn-lg" target="_blank" href="/admin/acl/acl_permissions/role?role_id={{$item['id']}}">{{$item['name']}}</a>
	</portlet>
</div>